/* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300);

/*
  Copyright (c) 2012 Julian Garnier
  Licensed under the MIT license
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
a,button,input{outline: none; -webkit-tap-highlight-color: rgba(255, 255, 255, 0); -webkit-user-modify: read-write-plaintext-only;}
body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 10px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    background-color: #08090A;
}

#universe {
    z-index: 1;
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-size: cover;
}

#galaxy {
    position: relative;
    width: 100%;
    height: 80%;
    /*perspective: 4000;*/
}

#solar-system {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform-style: preserve-3d;
    animation-name: orbit;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
      box-shadow: 0px 0px 30px rgba(255,255,255,.1);
}

.orbit .orbit {
    animation-name: suborbit;
}

.pos {
    position: absolute;
    top: 50%;
    width: 2em;
    height: 2em;
    margin-top: -1em;
    margin-left: -1em;
    transform-style: preserve-3d;
    animation-name: invert;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#sun,
.planet,
#earth .moon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1em;
    margin-top:  -0.9rem;
    margin-left: -0.9rem;
    border-radius: 50%;
    transform-style: preserve-3d;
}

#sun {
    background-color: #FB7209;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 60px rgba(255, 160, 60, 0.4);
}

.planet {
//  background-color: #202020;
//  background-repeat: no-repeat;
//  background-size: cover;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
}

#saturn .ring {
    width: 2em;
    height: 2em;
    margin-top: -1em;
    margin-left: -1em;
    border: 0.3em solid rgba(160, 147, 130, 0.7);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#saturn .ring:after {
    border-radius: 50%;
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 2.2em;
    height: 2.2em;
    margin-top: -1.1em;
    margin-left: -1.1em;
    border: 0.07em solid rgba(160, 147, 130, 0.5);
    box-sizing: border-box;
    box-sizing: border-box;
}


/* --------------------------------------------------------------------------- planets index */

#mercury {
    z-index: 10;
}

#venus {
    z-index: 9;
}

#earth {
    z-index: 8;
}

#moon {
    z-index: 7;
}

#mars {
    z-index: 6;
}

#jupiter {
    z-index: 5;
}

#saturn {
    z-index: 4;
}

#uranus {
    z-index: 3;
}

#neptune {
    z-index: 2;
}

#sun {
    z-index: 1;
}


/* --------------------------------------------------------------------------- animations */

@keyframes orbit {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(-360deg);
    }
}

@keyframes suborbit {
    0% {
        transform: rotateX(90deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(90deg) rotateZ(-360deg);
    }
}

@keyframes invert {
    0% {
        transform: rotateX(-90deg) rotateY(360deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
    }
}


/* --------------------------------------------------------------------------- opening */

.view-3D .opening #sun,
.view-3D .opening .orbit,
.view-3D .opening .pos,
.view-3D .opening .planet,
.view-3D .opening .satelite,
.view-3D .opening .ring {
    transition-duration: 4s;
}

#universe.opening #sun {
    box-shadow: 0 0 0 rgba(255, 160, 60, 0);
}


/* --------------------------------------------------------------------------- 2D view */

.view-2D.zoom-large #sun {
    transform-style: flat;
}

.view-2D.zoom-large .orbit {
    transform-style: flat;
}

.view-2D #sun,
.view-2D .ring {
    transform: rotateX(0deg);
}

.view-2D .planet,
.view-2D .moon {
    transform: rotateX(90deg);
}


/* --------------------------------------------------------------------------- 3D view */

.view-3D.zoom-large #sun {
    transform-style: preserve-3d;
}

.view-3D.zoom-large .orbit {
    transform-style: preserve-3d;
}

.view-3D #solar-system {
    transform: rotateX(75deg);
}

.view-3D #sun {
    transform: rotateX(-90deg);
}

.view-3D .ring {
    transform: rotateX(90deg);
}

.view-3D .planet,
.view-3D .moon {
    transform: rotateX(0deg);
}


/* --------------------------------------------------------------------------- large zoom */

.zoom-large #solar-system {
    width: 100%;
}

.zoom-large.view-2D .scale-stretched #solar-system {
    font-size: 26%;
}

.zoom-large.view-3D .scale-stretched #solar-system {
    font-size: 62%;
}

.zoom-large.view-2D .scale-d #solar-system {
    font-size: 22%;
}

.zoom-large.view-3D .scale-d #solar-system {
    font-size: 48%;
}

.zoom-large.view-2D .scale-s #solar-system {
    font-size: 7%;
}

.zoom-large.view-3D .scale-s #solar-system {
    font-size: 14%;
}


/* --------------------------------------------------------------------------- close zoom */

.zoom-close #solar-system {
    width: 200%;
    font-size: 100%;
}

.zoom-close .scale-stretched #solar-system {
    margin-left: -100%;
}

.zoom-close .scale-d #solar-system {
    margin-left: -106%;
}

.zoom-close.view-2D .scale-d #solar-system {
    font-size: 84%;
}

.zoom-close.view-3D .scale-d #solar-system {
    font-size: 84%;
}

.zoom-close .scale-s #solar-system {
    margin-left: -145%;
}

.zoom-close.view-2D .scale-s #solar-system {
    font-size: 40%;
}

.zoom-close.view-3D .scale-s #solar-system {
    font-size: 40%;
}

.zoom-close .orbit,
.zoom-close .pos,
.zoom-close .planet,
.zoom-close .satelite,
.zoom-close .ring {
    animation-play-state: paused!important;
    animation-duration: 0s!important;
    animation: none!important;
}

.zoom-close.view-2D .planet,
.zoom-close.view-2D .moon {
    transform: rotateX(0deg);
}

.zoom-close.view-3D .planet {
    transform: rotateX(-90deg);
}

.zoom-close.view-3D .moon {
    transform: rotateX(90deg);
}

.zoom-close .pos {
    left: 100%!important;
    top: 50%!important;
}


/* --------------------------------------------------------------------------- data */


/* --------------------------------------------------------------------------- speed */


/* sideral years */

#mercury .pos,
#mercury .planet,
#mercury.orbit {
    animation-duration: 6s;
}

#venus .pos,
#venus .planet,
#venus.orbit {
    animation-duration: 7.38237s;
}

#earth .pos,
#earth .planet,
#earth.orbit {
    animation-duration: 12.00021s;
}

#earth .orbit .pos,
#earth .orbit {
    animation-duration: 0.89764s;
}

#mars .pos,
#mars .planet,
#mars.orbit {
    animation-duration: 22.57017s;
}

#jupiter .pos,
#jupiter .planet,
#jupiter.orbit {
    animation-duration: 142.35138s;
}

#saturn .pos,
#saturn .planet,
#saturn.orbit,
#saturn .ring {
    animation-duration: 353.36998s;
}

#uranus .pos,
#uranus .planet,
#uranus.orbit {
    animation-duration: 1008.20215s;
}

#neptune .pos,
#neptune .planet,
#neptune.orbit {
    animation-duration: 1977.49584s;
}


/* --------------------------------------------------------------------------- planets sizes */


/* --------------------------------------------------------------------------- stretched sizes */

.scale-stretched #sun {
    font-size: none;
    width: 1.8rem;
    height: 1.8rem;
    box-shadow: 0px 0px 30px rgba(255,255,0,.7);
}

.scale-stretched #mercury .planet {
    font-size: 1.5em;
}

.scale-stretched #venus .planet {
    font-size: 3.72em;
}

.scale-stretched #earth .planet {
    font-size: 3.92em;
}

.scale-stretched #earth .moon {
    font-size: 1.2em;
}

.scale-stretched #mars .planet {
    font-size: 2.9em;
}

.scale-stretched #jupiter .planet {
    font-size: 12em;
}

.scale-stretched #saturn .planet {
    font-size: 10.8em;
}

.scale-stretched #uranus .planet {
    font-size: 4.68em;
}

.scale-stretched #neptune .planet {
    font-size: 4.9em;
}


/* --------------------------------------------------------------------------- scaled sizes */


/*
(planets radius * 2) * ratio
*/


/*$distanceScaleRatio:   0.000075em;*/


/* --------------------------------------------------------------------------- planets distance scale sizes */

.scale-d #sun {
    font-size: 41.73048em;
}

.scale-d #mercury .planet {
    font-size: 0.14634em;
}

.scale-d #venus .planet {
    font-size: 0.36306em;
}

.scale-d #earth .planet {
    font-size: 0.38226em;
}

.scale-d #earth .moon {
    font-size: 0.08226em;
}

.scale-d #mars .planet {
    font-size: 0.20334em;
}

.scale-d #jupiter .planet {
    font-size: 4.19466em;
}

.scale-d #saturn .planet {
    font-size: 3.49392em;
}

.scale-d #uranus .planet {
    font-size: 1.52172em;
}

.scale-d #neptune .planet {
    font-size: 1.47732em;
}


/* --------------------------------------------------------------------------- planet size scale sizes */

.scale-s #sun {
    font-size: 417.3048em;
}

.scale-s #mercury .planet {
    font-size: 1.4634em;
}

.scale-s #venus .planet {
    font-size: 3.6306em;
}

.scale-s #earth .planet {
    font-size: 3.8226em;
}

.scale-s #earth .moon {
    font-size: 0.8226em;
}

.scale-s #mars .planet {
    font-size: 2.0334em;
}

.scale-s #jupiter .planet {
    font-size: 41.9466em;
}

.scale-s #saturn .planet {
    font-size: 34.9392em;
}

.scale-s #uranus .planet {
    font-size: 15.2172em;
}

.scale-s #neptune .planet {
    font-size: 14.7732em;
}


/* --------------------------------------------------------------------------- stretched orbits */

.scale-stretched #mercury.orbit {
    width:  3.4rem;
    height: 3.4rem;
    margin-top: -1.7rem;
    margin-left: -1.7rem;
}

.scale-stretched #venus.orbit {
    width: 5.1rem;
    height: 5.1rem;
    margin-top: -2.55rem;
    margin-left: -2.55rem;
}

.scale-stretched #earth.orbit {
    width: 6.8rem;
    height: 6.8rem;
    margin-top: -3.4rem;
    margin-left: -3.4rem;
}

.scale-stretched #mars.orbit {
    width: 8.2rem;
    height: 8.2rem;
    margin-top: -4.1rem;
    margin-left: -4.1rem;
}

/* --------------------------------------------------------------------------- scaled orbits */


/* --------------------------------------------------------------------------- distance scale orbits */

.scale-d #mercury.orbit {
    width: 44.74176em;
    height: 44.74176em;
    margin-top: -22.37088em;
    margin-left: -22.37088em;
}

.scale-d #venus.orbit {
    width: 47.35737em;
    height: 47.35737em;
    margin-top: -23.67869em;
    margin-left: -23.67869em;
}

.scale-d #earth.orbit {
    width: 49.50959em;
    height: 49.50959em;
    margin-top: -24.75479em;
    margin-left: -24.75479em;
}

.scale-d #mars.orbit {
    width: 53.58356em;
    height: 53.58356em;
    margin-top: -26.79178em;
    margin-left: -26.79178em;
}

.scale-d #jupiter.orbit {
    width: 82.2042em;
    height: 82.2042em;
    margin-top: -41.1021em;
    margin-left: -41.1021em;
}

.scale-d #saturn.orbit {
    width: 115.91713em;
    height: 115.91713em;
    margin-top: -57.95857em;
    margin-left: -57.95857em;
}

.scale-d #uranus.orbit {
    width: 191.00471em;
    height: 191.00471em;
    margin-top: -95.50235em;
    margin-left: -95.50235em;
}

.scale-d #neptune.orbit {
    width: 275.64709em;
    height: 275.64709em;
    margin-top: -137.82355em;
    margin-left: -137.82355em;
}


/* Moon */

.scale-d #earth .orbit {
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    margin-left: -0.5em;
}


/* --------------------------------------------------------------------------- size scale orbits */

.scale-s #mercury.orbit {
    width: 441.3048em;
    height: 441.3048em;
    margin-top: -220.6524em;
    margin-left: -220.6524em;
}

.scale-s #venus.orbit {
    width: 457.3048em;
    height: 457.3048em;
    margin-top: -228.6524em;
    margin-left: -228.6524em;
}

.scale-s #earth.orbit {
    width: 473.3048em;
    height: 473.3048em;
    margin-top: -236.6524em;
    margin-left: -236.6524em;
}

.scale-s #mars.orbit {
    width: 489.3048em;
    height: 489.3048em;
    margin-top: -244.6524em;
    margin-left: -244.6524em;
}

.scale-s #jupiter.orbit {
    width: 561.3048em;
    height: 561.3048em;
    margin-top: -280.6524em;
    margin-left: -280.6524em;
}

.scale-s #saturn.orbit {
    width: 705.3048em;
    height: 705.3048em;
    margin-top: -352.6524em;
    margin-left: -352.6524em;
}

.scale-s #uranus.orbit {
    width: 817.3048em;
    height: 817.3048em;
    margin-top: -408.6524em;
    margin-left: -408.6524em;
}

.scale-s #neptune.orbit {
    width: 881.3048em;
    height: 881.3048em;
    margin-top: -440.6524em;
    margin-left: -440.6524em;
}


/* Moon */

.scale-s #earth .orbit {
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    margin-left: -0.5em;
}


/* --------------------------------------------------------------------------- text infos data */


/* --------------------------------------------------------------------------- speed */

.set-speed dl.infos dd span:after {
    content: 'Orbit Velocity';
}

.set-speed #sun dl.infos dd:after {
    content: '0 km/h';
}

.set-speed #mercury dl.infos dd:after {
    content: '170,503 km/h';
}

.set-speed #venus dl.infos dd:after {
    content: '126,074 km/h';
}

.set-speed #earth dl.infos dd:after {
    content: '107,218 km/h';
}

.set-speed #mars dl.infos dd:after {
    content: '86,677 km/h';
}

.set-speed #jupiter dl.infos dd:after {
    content: '47,002 km/h';
}

.set-speed #saturn dl.infos dd:after {
    content: '34,701 km/h';
}

.set-speed #uranus dl.infos dd:after {
    content: '24,477 km/h';
}

.set-speed #neptune dl.infos dd:after {
    content: '19,566 km/h';
}


/* --------------------------------------------------------------------------- size */

.set-size dl.infos dd span:after {
    content: 'Equatorial Circumference';
}

.set-size #sun dl.infos dd:after {
    content: '4,370,005 km';
}

.set-size #mercury dl.infos dd:after {
    content: '15,329 km';
}

.set-size #venus dl.infos dd:after {
    content: '38,024 km';
}

.set-size #earth dl.infos dd:after {
    content: '40,030 km';
}

.set-size #mars dl.infos dd:after {
    content: '21,296 km';
}

.set-size #jupiter dl.infos dd:after {
    content: '439,263 km';
}

.set-size #saturn dl.infos dd:after {
    content: '365,882 km';
}

.set-size #uranus dl.infos dd:after {
    content: '159,354 km';
}

.set-size #neptune dl.infos dd:after {
    content: '154,704 km';
}


/* --------------------------------------------------------------------------- distance */

.set-distance dl.infos dd span:after {
    content: 'From Sun';
}

.set-distance #sun dl.infos dd span:after {
    content: 'From Earth';
}

.set-distance #sun dl.infos dd:after {
    content: '149,598,262 km';
}

.set-distance #mercury dl.infos dd:after {
    content: '57,909,227 km';
}

.set-distance #venus dl.infos dd:after {
    content: '108,209,475 km';
}

.set-distance #earth dl.infos dd:after {
    content: '149,598,262 km';
}

.set-distance #mars dl.infos dd:after {
    content: '227,943,824 km';
}

.set-distance #jupiter dl.infos dd:after {
    content: '778,340,821 km';
}

.set-distance #saturn dl.infos dd:after {
    content: '1,426,666,422 km';
}

.set-distance #uranus dl.infos dd:after {
    content: '2,870,658,186 km';
}

.set-distance #neptune dl.infos dd:after {
    content: '4,498,396,441 km';
}


/* --------------------------------------------------------------------------- planets starting position and lighting effect */


/* --------------------------------------------------------------------------- mercury ; pos: Top */

#mercury .pos {
    left: 50%;
    top: 0%;
    color:#FFF;
}
#mercury .pos2{
    top: 100%;
    font-size: 0.2rem;
}
#mercury .planet {
//  animation-name: shadow-mercury;
    width:1.3rem;
}

@keyframes shadow-mercury {
    0% {
        box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    25% {
        box-shadow: inset 4px 0 2px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    50% {
        box-shadow: inset 13px -5px 4px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    50.01% {
        box-shadow: inset -13px -5px 4px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    75% {
        box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    100% {
        box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
}

.scaled.view-2D #mercury .planet,
.scaled.view-3D #mercury .planet {
    box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- venus ; pos: Left */

#venus .pos {
    left: 0;
    top: 50%;
    color: #FFF;
}
#venus .pos2 {
    left: 50%;
    top:100%;

}
#venus .pos3{
     left: 95%;
    top: 30%;

}
#venus .pos .planet {
//  animation-name: shadow-venus;
width: 2rem;
 font-size: 0.38rem;
}
#venus .pos2 .planet {
//  animation-name: shadow-venus;
width: 2rem;
font-size: 0.23rem;
}
#venus .pos3 .planet {
//  animation-name: shadow-venus;
width:2rem;
font-size: 0.25rem;
}

@keyframes shadow-venus {
    0% {
        box-shadow: inset 4px 0 2px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    25% {
        box-shadow: inset 22px -20px 10px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    25.5% {
        box-shadow: inset -22px -20px 10px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    50% {
        box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    75% {
        box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    100% {
        box-shadow: inset 4px 0 2px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
}

.scaled.view-2D #venus .planet,
.scaled.view-3D #venus .planet {
    box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- earth ; pos: Right */

#earth .pos {
    left: 100%;
    top: 50%;
     color: #FFF;
}
#earth .pos2 {
    left: 0%;
    top: 50%;
}
#earth .pos3 {
    left: 50%;
    top:100%;

}
#earth .pos4{
   left: 50%;
    top:0%;

}
#earth .pos .planet {
//  animation-name: shadow-venus;
width: 2rem;
 font-size: 0.28rem;
}
#earth .pos2 .planet {
//  animation-name: shadow-venus;
width: 2rem;
 font-size: 0.23rem;
}
#earth .pos3 .planet {
//  animation-name: shadow-venus;
width: 2rem;
font-size: 0.2rem;
}
#earth .pos4 .planet {
//  animation-name: shadow-venus;
width:2rem;
font-size: 0.24rem;
}
@keyframes shadow-earth {
    0% {
        box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    25% {
        box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    50% {
        box-shadow: inset 4px 0 2px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    75% {
        box-shadow: inset 24px -20px 15px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    75.01% {
        box-shadow: inset -24px -20px 15px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    100% {
        box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
}

.scaled.view-2D #earth .planet,
.scaled.view-3D #earth .planet {
    box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- moon */

#earth .orbit .pos {
    left: 100%;
    top: 50%;
}


/* --------------------------------------------------------------------------- mars ; pos: Bottom */

#mars .pos {
    left: 0%;
    top: 40%;
     color: #FFF;
}
#mars .pos2 {
    left: 100%;
    top:30%;
}
#mars .pos3 {
    left: 40%;
    top:0%;

}
#mars .pos4{
   left: 70%;
    top:100%;

}
#mars .pos5{
   left: 30%;
   top:100%;

}
#mars .pos6{
   left: 70%;
   top:0%;

}
#mars .pos .planet {
//  animation-name: shadow-venus;
width: 2rem;
 font-size: 0.18rem;
}
#mars .pos2 .planet {
//  animation-name: shadow-venus;
width: 2rem;
 font-size: 0.23rem;
}
#mars .pos3 .planet {
//  animation-name: shadow-venus;
width: 2rem;
font-size: 0.28rem;
}
#mars .pos4 .planet {
//  animation-name: shadow-venus;
width:2rem;
font-size: 0.32rem;
}
#mars .pos5 .planet {
//  animation-name: shadow-venus;
width:2rem;
font-size: 0.19rem;
}
#mars .pos6 .planet {
//  animation-name: shadow-venus;
width:2rem;
font-size: 0.38rem;
}
@keyframes shadow-mars {
    0% {
        box-shadow: inset -18px -10px 10px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    25% {
        box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    50% {
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    75% {
        box-shadow: inset 4px 0 2px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    99.99% {
        box-shadow: inset 18px -10px 10px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    100% {
        box-shadow: inset -18px -10px 10px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
}

.scaled.view-2D #mars .planet,
.scaled.view-3D #mars .planet {
    box-shadow: inset -4px 0 2px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- jupiter ; pos: Right */

#jupiter .pos {
    left: 100%;
    top: 50%;
}

#jupiter .planet {
    animation-name: shadow-jupiter;
}

@keyframes shadow-jupiter {
    0% {
        box-shadow: inset -16px 0 5px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    25% {
        box-shadow: inset 0 3px 2px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    50% {
        box-shadow: inset 16px 0 5px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    75% {
        box-shadow: inset 94px -30px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    75.01% {
        box-shadow: inset -94px -30px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    100% {
        box-shadow: inset -16px 0 5px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
}

.scaled.view-2D #jupiter .planet,
.scaled.view-3D #jupiter .planet {
    box-shadow: inset -16px 0 5px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- saturn ; pos: Left */

#saturn .pos {
    left: 0%;
    top: 50%;
}

#saturn .planet {
    animation-name: shadow-saturn;
}

@keyframes shadow-saturn {
    0% {
        box-shadow: inset 16px 0 5px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    25% {
        box-shadow: inset 80px -30px 50px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    25.01% {
        box-shadow: inset -94px -30px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    50% {
        box-shadow: inset -16px 0 5px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    75% {
        box-shadow: inset -2px 3px 2px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    100% {
        box-shadow: inset 16px 0 5px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
}

.scaled.view-2D #saturn .planet,
.scaled.view-3D #saturn .planet {
    box-shadow: inset -16px 0 5px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- saturn ring */


/*

#saturn .ring           { animation-name:     shadow-saturn-ring; }

@keyframes
shadow-saturn-ring{ 0%   { box-shadow: inset -16px  0      4px   rgba(20, 40, 50, 0.45); opacity: .4; }
                  25%    { box-shadow: inset -5px   -30px   12px  rgba(20, 40, 50, 0.3);  opacity: 1; }
                  25.01% { box-shadow: inset 5px    -30px   12px  rgba(20, 40, 50, 0.3);  opacity: 1; }
                  50%    { box-shadow: inset 16px   0      4px   rgba(20, 40, 50, 0.45);  opacity: .4; }
                  75%    { box-shadow: inset 0      30px  50px  rgba(20, 40, 50, 0);  opacity: .3; }
                  100%   { box-shadow: inset -16px  0      4px   rgba(20, 40, 50, 0.45);  opacity: .4; }
                }

.scaled.view-2D #saturn .ring,
.scaled.view-3D #saturn .ring { box-shadow: inset 16px   0      4px   rgba(20, 40, 50, 0.6); }

*/


/* --------------------------------------------------------------------------- uranus ; pos: Left */

#uranus .pos {
    left: 0;
    top: 50%;
}

#uranus .planet {
    animation-name: shadow-uranus;
}

@keyframes shadow-uranus {
    0% {
        box-shadow: inset 8px 0 5px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    25% {
        box-shadow: inset 40px -15px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    25.01% {
        box-shadow: inset -40px -15px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    50% {
        box-shadow: inset -8px 0 5px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    75% {
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    100% {
        box-shadow: inset 8px 0 5px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
}

.scaled.view-2D #uranus .planet,
.scaled.view-3D #uranus .planet {
    box-shadow: inset -8px 0 5px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- neptune ; pos: Top */

#neptune .pos {
    left: 50%;
    top: 0;
}

#neptune .planet {
    animation-name: shadow-neptune;
}

@keyframes shadow-neptune {
    0% {
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
    25% {
        box-shadow: inset 12px 0 5px rgba(0, 0, 0, 0.5);
        /* LEFT */
    }
    50% {
        box-shadow: inset 50px -15px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    50.01% {
        box-shadow: inset -50px -15px 40px rgba(0, 0, 0, 0.5);
        /* BOTTOM */
    }
    75% {
        box-shadow: inset -12px 0 5px rgba(0, 0, 0, 0.5);
        /* RIGHT */
    }
    100% {
        box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.5);
        /* TOP */
    }
}

.scaled.view-2D #neptune .planet,
.scaled.view-3D #neptune .planet {
    box-shadow: inset -12px 0 5px rgba(0, 0, 0, 0.5);
    /* RIGHT */
}


/* --------------------------------------------------------------------------- DEBUG
.pos,
.planet,
.orbit,
.ring { animation-duration: 20s!important; }

/* */


/* --------------------------------------------------------------------------- navigation styles */

dl.infos {
    position: absolute;
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    margin-top: -90%;
    margin-left: 90%;
    padding-left: 100%;
    transform-origin: 100% 100%;
    transform-style: preserve-3d;
    transform: rotateX(0deg);
}

dl.infos:before {
    position: absolute;
    content: '';
    width: 15px;
    height: 30px;
    left: 15px;
    bottom: 0;
    border-top: 1px solid white;
    border-left: 1px solid white;
    transform-style: preserve-3d;
    transform: skew(-45deg, 0deg);
    box-shadow: inset 1px 1px black;
}

dl.infos dt {
    position: absolute;
    left: 50px;
    margin-bottom: 26px;
    bottom: 30px;
    color: #FFF;
    font-size: 14px;
    text-shadow: 1px 1px 2px black;
}

dl.infos dd:after {
    position: absolute;
    left: 50px;
    bottom: 30px;
    width: 300px;
    color: #FFF;
    font-size: 22px;
    text-shadow: 1px 1px 2px black;
}

dl.infos dd span:after {
    position: absolute;
    left: 50px;
    bottom: 14px;
    width: 300px;
    color: #FFF;
    font-size: 11px;
    text-shadow: 1px 1px 2px black;
}

.sun  .infos,
.mercury .infos,
.venus  .infos,
.earth  .infos,
.mars  .infos,
.jupiter  .infos,
.saturn  .infos,
.uranus  .infos,
.neptune  .infos {
    display: block;
    opacity: 1;
    transform: rotateX(0deg);
}

.mercury #mercury.orbit,
.venus #venus.orbit,
.earth #earth.orbit,
.mars #mars.orbit,
.jupiter #jupiter.orbit,
.saturn #saturn.orbit,
.uranus #uranus.orbit,
.neptune #neptune.orbit {
    border: 2px dashed rgba(255, 255, 255, 0.2);
      box-shadow: 0px 0px 30px rgba(255,255,255,.1);
}

.hide-UI h1,
.hide-UI #data,
.hide-UI dl.infos,
.hide-UI #controls {
    opacity: 0!important;
    margin-top: -30px;
}

.hide-UI #data {
    margin-bottom: -30px;
}

.hide-UI .orbit {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

h1 {
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

h1 span,
#navbar h1 a {
    display: inline;
    position: relative;
    padding: 0;
    font-weight: 300;
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

#navbar,
#controls,
#data {
    background: rgba(0, 0, 0, 0.4);
}

#navbar {
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    padding: 16px;
    width: 100%;
    height: 48px;
}

#navbar a,
#data a,
#controls label {
    color: rgba(255, 255, 255, 0.6);
    display: block;
    position: relative;
    text-decoration: none;
}

#navbar a:hover,
#data a:hover,
#controls label:hover {
    color: #FFF;
}

#data a.active {
    color: #0CF;
}

#navbar a {
    position: absolute;
    top: 0;
    height: 48px;
    padding: 16px;
    font-size: 14px;
}

#toggle-data {
    left: 0;
}

#toggle-controls {
    right: 0;
}

#data,
#controls {
    z-index: 99;
    position: fixed;
    opacity: 1;
    top: 49px;
    padding: 16px;
}

.data-close #data {
    left: -100%;
}

.data-open #data {
    left: 0px;
}

.controls-close #controls {
    right: -100%;
}

.controls-open #controls {
    right: 0px;
}

#data a {
    margin-bottom: 1px;
    padding: 6px 10px;
    font-size: 18px;
}

#controls label {
    opacity: .6;
    height: 24px;
    margin-bottom: 28px;
}

#controls label:hover {
    opacity: 1;
}

#controls label:before {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    text-align: center;
    color: #FFF;
    z-index: 99;
}

#controls label span {
    display: block;
    margin-left: 36px;
    padding-top: 4px;
    font-size: 18px;
    color: #FFF;
}

#controls input {
    display: block;
    appearance: none;
}

#controls input[type="radio"]:before {
    content: '';
    display: block;
    position: absolute;
    width: 22px;
    height: 22px;
    border: 2px solid #FFF;
    border-radius: 16px;
}

#controls input:checked[type="radio"]:after {
    content: '';
    display: block;
    top: 3px;
    margin-left: 3px;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #FFF;
    z-index: 99;
}

#controls input[type="checkbox"]:before {
    content: '';
    display: block;
    position: absolute;
    width: 100px;
    height: 22px;
    border: 2px solid #FFF;
    border-radius: 16px;
}

#controls input[type="checkbox"]:after {
    content: '';
    display: block;
    top: 3px;
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #FFF;
    z-index: 99;
}

#controls label.set-view:before {
    font: bold small-caps 11px/20px sans-serif;
}

.view-3D #controls label.set-view:before {
    content: '2D';
    margin-left: 82px;
}

.view-2D #controls label.set-view:before {
    content: '3D';
    margin-left: 7px;
}

.view-3D #controls .set-view input:after {
    margin-left: 3px;
}

.view-2D #controls .set-view input:after {
    margin-left: 81px;
}

#controls label.set-zoom:before {
    font: normal small-caps 18px/14px sans-serif;
}

.zoom-large #controls label.set-zoom:before {
    content: '+';
    margin-left: 82px;
}

.zoom-close #controls label.set-zoom:before {
    content: '-';
    margin-left: 7px;
}

.zoom-large #controls .set-zoom input:after {
    margin-left: 3px;
}

.zoom-close #controls .set-zoom input:after {
    margin-left: 81px;
}


/* --------------------------------------------------------------------------- transitions */

.pos {
    transition-property: top, left;
}

#solar-system,
.orbit,
.planet,
.satelite,
.ring {
    transition-property: width, height, top, left, margin-left, margin-top, webkit-transform;
}

#sun,
.icon {
    transition-property: width, height, webkit-transform;
}

#solar-system,
#sun,
.orbit,
.pos,
.planet,
.satelite,
.ring,
.infos,
.icon {
    transition-duration: .8s;
    transition-timing-function: ease-in-out;
}

#solar-system,
#sun,
.planet,
.satelite,
.ring {
    transition-delay: 0s;
}

.pos {
    transition-delay: 1s;
}

.opening #solar-system,
.opening #sun,
.opening .orbit,
.opening .pos,
.opening .planet,
.opening .satelite,
.opening .ring,
.opening .infos,
.opening h1,
.opening #data,
.opening dl.infos,
.opening #controls {
    transition-duration: 0s;
    transition-delay: 0s;
}

.opening .pos {
    transition-delay: 0s;
}

h1,
#data,
#controls {
    transition-property: opacity, margin;
    transition-duration: .8s;
    transition-timing-function: ease-in-out;
}

h1 {
    transition-delay: .35s;
}

#data {
    transition-delay: .7s;
}

#controls {
    transition-delay: 1s;
}


/* --------------------------------------------------------------------------- images */

body {
    background-image: url(../images/tan-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
        height: 100vh;
}

#sun {
    background-image: url(../images/logo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* --------------------------------------------------------------------------- responsive styles */

@media screen and (max-width: 299px) {
    #universe {
        font-size: 20%;
    }
}

@media screen and (min-width: 300px) {
    #universe {
        font-size: 24%;
    }
}

@media screen and (min-width: 500px) {
    #universe {
        font-size: 36%;
    }
}

@media screen and (min-width: 600px) {
    #universe {
        font-size: 44%;
    }
}

@media screen and (min-width: 760px) {
    #universe {
        font-size: 58%;
    }
}

@media screen and (min-width: 1000px) {
    #universe {
        font-size: 73%;
    }
    #navbar,
    #controls,
    #data {
        background: transparent;
    }
    #navbar a {
        display: none;
    }
    h1 {
        font-size: 22px;
        margin-top: 8px;
    }
    #controls {
        padding-right: 32px;
        top: 12px;
    }
    #data {
        position: fixed;
        top: inherit;
        bottom: 0;
        width: 100%;
        text-align: center;
    }
    #data a {
        display: inline-block;
        text-align: center;
        font-size: 20px;
        padding: 15px 15px;
    }
    .data-open #data,
    .data-close #data {
        left: 0px;
    }
    .controls-open #controls,
    .controls-close #controls {
        right: 0px;
    }
}

@media screen and (min-width: 1300px) {
    #universe {
        font-size: 100%;
    }
}

@media screen and (min-width: 1600px) {
    .zoom-close .scale-d #solar-system {
        margin-left: -120%;
    }
}

#searchBox{
    position: fixed;
    bottom: 1.6rem;
    left: 50%;
    margin-left: -2.2rem;
    height: 0.8rem;
    width: 4.4rem;
    z-index: 4;
    form{
        width: 100%;
        height: 100%;
        position: absolute;
        input{
            height: 100%;
            width: 100%;
            background: none;
            background-image: url(../images/souKuang.png);
            background-repeat: no-repeat;
            background-size: contain;
            background-position:center;
            border: none;
            padding: 0rem 1.4rem 0rem 0.85rem;
            color: #FFF;
        }
        button{
            position: absolute;
            background: none;
            border: none;
            color: #FFF;
            font-size: 0.3rem;
            height: 100%;
            width: 1.5rem;
            top: 0rem;
            right: 0rem;
        }
    }
}
